package cn.lds.j367.ssm.controller;

import cn.lds.j367.ssm.dto.ResultDTO;
import cn.lds.j367.ssm.entity.Menu;
import cn.lds.j367.ssm.service.MenuService;
import jdk.jfr.Category;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
@RequestMapping("/menu")
public class MenuController {

    @Autowired
    private MenuService menuService;

    private Logger log = LoggerFactory.getLogger(MenuController.class);

    @RequestMapping("/show_menu")
    public String showMenu(Model model) throws InterruptedException {


        return "show_menu";
    }

}
